package com.uwlaser.base;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 树结构
 */
@Data
public class CommonTree {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("编码")
    private String code;

    @ApiModelProperty("名称")
    private String label;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("子集合")
    private List<CommonTree> children;


}
